P.Mod.head = function(dom,options){
	this.layout = $("#layout").Module();
	var _this = this;
	$(dom).click(function(e){
		var nav = e.target.getAttribute("nav");
		if(nav){_this.changeNav(nav, e.target);return false;}
	});
};
P.Mod.head.prototype.changeNav = function(nav, button){
	switch(nav){
		case "changePassword" :
			this.layout.setLayout(1);
				//var htmlSource = $.UT.CreateRequest({module:"changePassword",action:"get_html"});
				//var jsonSource = $.UT.CreateRequest({module:"changePassword",action:"get_json",button:button});
				//this.layout.mainLoader.changeModule("changePassword",htmlSource,jsonSource);
			break;
		case "6ds" :
			this.layout.setLayout(2);
				
			break;
		case "3ds" :
			this.layout.setLayout(3);
			break;
	}		
};
$('#head').Module();